package com.atguigu.lease.web.api.service;

import com.atguigu.lease.model.base.BaseSearchDto;
import com.atguigu.lease.model.entity.BrowsingHistory;
import com.atguigu.lease.web.api.vo.HistoryItemVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface BrowsingHistoryService extends IService<BrowsingHistory> {
    void saveOrUpdateAsync(Long userId, Long roomId);

    Page<HistoryItemVo> pageItem(BaseSearchDto searchDto);
}
